package com.chushouya.manager.dto.admin.dept;

import com.general.framework.core.lang.Lists;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("部门树DTO")
@Data
public class DeptTreeDTO {

    @ApiModelProperty("部门id")
    private Long deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("子部门列表")
    private List<DeptTreeDTO> children = Lists.emptyList();

}
